<?php

namespace Common\Model;

use Think\Model;

class TaskQuotaModel extends Model
{
    public function get_list($rank)
    {
        $condition =[];

        $condition['rank'] = array('eq', $rank);
        $condition['status'] = array('egt', 0);

        $list = $this->where($condition)->order('id asc')->select();
        return $list;
    }

}

